<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

            <input name="row[class_id]" type="hidden" value="{$class_id}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Subject_id" data-rule="required" data-source="school_subject/index"
                   data-field="subject_name" class="form-control selectpage" placeholder="输入为模糊搜索" name="row[subject_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_class_hour')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_class_hour" class="form-control" name="row[total_class_hour]" type="text">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
